It definitely sounds like you have a thermostat issue on your Atwood gas/electric 10 gallon water heater. I can't really vouch for the Camco RV Water Heater Thermostat # CAM08143 being compatible with your water heater but I can say that we have the Replacement Gas Regulator # 91602 which replaces the gas control valve and thermostat on the following Atwood gas/electric water heaters:
AT94022, AT94023, AT94186, AT96117, AT96161SU, or AT96163
You'll want to check any stickers on the water... view full answer...